package cn.tedu.medicalpath.base.exception;

import cn.tedu.medicalpath.base.response.StatusCode;
import lombok.Getter;

@Getter
public class ServiceException extends RuntimeException{
    private final StatusCode statusCode;
    public ServiceException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }
}
